<html xmlns:th="http://www.thymeleaf.org">
<body>
	<div th:if="${message}">
		<h2 th:text="${message}"/>
	</div>

	<div>
		<form method="POST" enctype="multipart/form-data" action="/upload/test/">
			<table>
				<!--<tr>
					<td>开发商账号:</td>
					<td><input type="text" name="KFSBH" /></td>
				</tr>
				<tr>
					<td>小区编号:</td>
					<td><input type="text" name="XQBH" /></td>
				</tr>-->
				<tr>
					<td>模块编码:</td>
					<td><input type="text" name="moduleCode" /></td>
				</tr>
				<tr>
					<td>文件类型编码:</td>
					<td><input type="text" name="typeCode" /></td>
				</tr>

				<tr>
					<td>File to upload:</td>
					<td><input type="file" name="file" /></td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit" value="Upload" /></td>
				</tr>
			</table>
		</form>
	</div>

	<div>
		<ul>
			<li th:each="file : ${files}">
				<a th:href="${file}" th:text="${file}" />
			</li>
		</ul>
	</div>

</body>
</html>
